export interface RepairCountParams{
    days?:number | null
    months?:number | null
    years?:number | null
}
//首页右侧维修统计
export interface Repairs{
    list:RepairCountData[]
}
interface RepairCount{
    id: number
    repairsid: number
    url: string
  }
  
  export interface RepairCountData{
    id: number
    repairsid?: number
    url?: string
    address?: string
    content?: string
    userid?: number
    username?: string
    tel?: string
    type?: number
    state?: number
    typename?: string
    statename?: string
    addtime?: string
    images?: Array< images >
  }


  type images = {
    images: Array< RepairCount >
  }

  export interface RepairParams{
    key?:string
    state?:number
    page?:number
    psize?:number
}


//添加参数
interface ArrayType {
  url: string
}

export interface AddInfo {
  id: number
  address: string
  content: string
  userid: number
  tel: string
  type: number
  state: number
  addtime: string
  images: Array< ArrayType>
}
